Is there any way to make dictionary key value pairs to tuple